#include "RingQueue.hpp"
#include <iostream>
#include <pthread.h>

void *Consumer(void *args)
{
    RingQueue<int> *rq = static_cast<RingQueue<int> *>(args);
    
}

void *Productor(void *args)
{
    
}


int main()
{
    RingQueue<int> *rq =new RingQueue<int>();

    //单生产单消费
    pthread_t c,p;
    pthread_create(&c,nullptr,Consumer,rq);    
    pthread_create(&p,nullptr,Productor,rq);  


    pthread_join(c,nullptr);  
    pthread_join(c,nullptr);
    return 0;  
}